package com.epower.bo.epoweruser;


import java.util.List;
import com.epower.dataobject.EpowerUserDO;
/***
 * BO层
 * @author QuickDev
 *
 */
public interface EpowerUserService {
	
	//查询操作
	public EpowerUserDO getEpowerUserByOption(EpowerUserDO epowerUser);
	public List<EpowerUserDO> getEpowerUserListByOption(EpowerUserDO epowerUser);
	public EpowerUserDO getEpowerUserById(Integer epowerUser);
	//删除操作
	public boolean deleteEpowerUserById(Integer id);
	public Integer getEpowerUserCountByOption(EpowerUserDO epowerUser);
	//更新操作
	public boolean  updateEpowerUserByOption(EpowerUserDO epowerUser);
	//添加操作
	public Integer addEpowerUser(EpowerUserDO epowerUser);
	public List<EpowerUserDO> getEpowerUserListPageByOption(EpowerUserDO epowerUser);
	
	/**
	 * @param userName
	 * @return
	 */
	public EpowerUserDO getUserByUserName(String userName);
}

